home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20000114-20000217
/
000121_news@columbia.edu _Sun Jan 23 12:27:15 2000.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id MAA02221
for <kermit.misc@watsun.cc.columbia.edu>; Sun, 23 Jan 2000 12:27:15 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id MAA28848
for kermit.misc@watsun.cc.columbia.edu; Sun, 23 Jan 2000 12:08:35 -0500 (EST)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Subject: Re: How to run dos commands on client from unix host?
Date: 23 Jan 2000 17:08:35 GMT
Organization: Columbia University
Message-ID: <86fcij$s5d$1@newsmaster.cc.columbia.edu>
To: kermit.misc@columbia.edu
In article <86euo8$hq9$1@nnrp1.deja.com>, <dubal@my-deja.com> wrote:
: We have a dos machine running dos kermit316. It logs into a unix host
: over tcp/ip lan. We are able to print transperantly on the dos printer
: (LPT1) using esc[5i and esc[4i seq while connected.
: The client has 2 printers. Is there any way to print on the 2nd printer
: using perhaps another seq or macro or something?
:
The terminals that Kermit emulates do not define a way to select different
printers by sending different escape sequences, so Kermit can't do it either.
But you can tell MS-DOS Kermit to:
set printer lpt2
(or whatever) to select the current active printer. If you want to switch
back and forth between printers, you can have the host send APC (Application
Program Control) escape sequences:
<APC>set printer xxx<ST>
where <APC> is Esc followed by underscore (_), and ST (String Terminator) is
Esc followed by backslash (\). Before this can work you probably need to
tell MS-DOS Kermit to:
set terminal apc on
or even:
set terminal apc unchecked
: Is there a similar esc seq that will allow us to run dos commands?
:
As you might imagine, this can be dangerous, but it can be done with APC
(with TERMINAL APC set to UNCHECKED). At your own risk. More info in
Section 10 of your KERMIT.UPD file.
- Frank